<%@page pageEncoding="UTF-8" contentType="text/html; UTF-8" isELIgnored="false" %>
<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="utf-8"/>
    <meta http-equiv="X-UA-Compatible" content="IE=edge"/>
    <meta name="viewport" content="width=device-width, initial-scale=1"/>
    <title>首页</title>
</head>
<body>
    <h1>测试文件下载</h1>

    <a href="${pageContext.request.contextPath}/file/download?fileName=avator.jpg">avator.jpg</a>
    <a href="${pageContext.request.contextPath}/file/download?fileName=美女.png">美女.png</a>
    <a href="${pageContext.request.contextPath}/file/download?fileName=beauty01.jpg">beauty01.jpg</a>
    <a href="${pageContext.request.contextPath}/file/download?fileName=beauty03.jpg">beauty03.jpg</a>

</body>
</html>